package com.definesys.smecrailtransit.api;

import com.definesys.smecrailtransit.BuildConfig;

/**
 * Created by xupeizuo on 2017/7/20.
 */

public interface SmecRailApi {

    String AppKey="06267df55e2566b2cb6aedb3";
    String Master_Secret="3af3bf3f59356da6a5ea3a78";

    String base_url= BuildConfig.SMEC_DOMAIN;

    interface SmecConstant{

        /**
         * 异常信息上传
         */
        String EXCEPTION_MSG_UPLOAD="appCrashReportService";

        /**
         * 用户登录
         */
        String USER_LOGIN=BuildConfig.LOGIN_URL+"instDebugAuthorization/instDebutAuthorizationService";

        /**
         * 版本更新
         */
        String CHECK_UPDATE=BuildConfig.SMEC_DOMAIN+"DFStageAux/appCheckVersion/appCheckVersionService";

        /**
         * 实时故障消息
         */
        String REAL_TIME=BuildConfig.SMEC_URL+"queryFaultMsg/queryFaultMsgService";

        /**
         * 线路月度故障列表
         */
        String MONTH_REPORT=BuildConfig.SMEC_URL+"queryFaultReportStation/queryFaultReportStationService";

        /**
         * 站点故障列表
         */
        String STATION_REPORT=BuildConfig.SMEC_URL+"queryFaultReportElevator/queryFaultReportElevatorService";

        /**
         * 故障日志
         */
        String FAULT_LOG=BuildConfig.SMEC_URL+"queryEleFaultLog/queryEleFaultLogService";

        /**
         * 保养计划
         */
        String CARE_PLAN=BuildConfig.SMEC_URL+"queryEleMaintainPlan/queryEleMaintainPlanService";

        /**
         * 线路运行时长
         */
        String LINE_TIME =BuildConfig.SMEC_URL+"queryLineRunDuration/queryLineRunDurationService";

        /**
         * 站点运行时长
         */
        String STATION_TIME=BuildConfig.SMEC_URL+"queryStationRunDuration/queryStationRunDurationService";

        /**
         * 电梯运行时长
         */
        String ELEVATOR_TIME =BuildConfig.SMEC_URL+"queryEleRunDuration/queryEleRunDurationService";

        /**
         * 确认推送成功
         */
        String MAKE_SURE_JPUSH=BuildConfig.SMEC_URL+"responsePushInfo/responsePushInfoService";

        /**
         * 获取站点电梯实时状态
         */
        String GET_STATION_ELE_STATUS=BuildConfig.SMEC_URL+"queryStationEleStatus/queryStationEleStatusService";

        /**
         * 获取站点电梯故障内容
         */
        String GET_ELE_ERROR_CONTENT=BuildConfig.SMEC_URL+"queryFaultEleInform/queryFaultEleInformService";

        /**
         * 获取站点故障月度报表
         */
        String GET_ELE_ERROR_REPORT=BuildConfig.SMEC_URL+"queryFaultReportEle/queryFaultReportEleService";

        /**
         * 获取站点参数档案了列表
         */
        String GET_ELE_PARAM_ACHIEVES=BuildConfig.SMEC_URL+"queryStationDeviceData/queryStationDeviceDataService";

        /**
         * 获取指定站点电梯运行时长
         */
        String GET_SITE_RUN_TIME=BuildConfig.SMEC_URL+"queryStationRunDuration/queryStationRunDurationService";

        /**
         * 获取制指定站点电梯故障统计
         */
        String GET_SITE_ELE_ERROE=BuildConfig.SMEC_URL+"queryDetailsStation/queryDetailsStationService";

        /**
         * 获取指定线路电梯台数
         */
        String GET_REAL_ELE_NUM=BuildConfig.SMEC_URL+"queryLineEleCount/queryLineEleCountService";

        /**
         * 获取用户关注站点
         */
        String GET_ATTENTION=BuildConfig.SMEC_URL+"getConcernStation/getConcernStationService";

        /**
         * 修改用户关注的站点
         */
        String UPDATE_ATTENTION=BuildConfig.SMEC_URL+"reviseConcernStation/reviseConcernStationService";

        /**
         * 获取所有线路站点信息
         */
        String GET_ALL_STATIONS=BuildConfig.SMEC_URL+"getLinesStations/getLinesStationsService";

        /**
         * 发送邮件
         */
        String SEND_EMAIL =BuildConfig.SMEC_URL+"sendReportEmail/sendReportEmailService";

        /**
         * 线路简报
         */
        String LINE_REPORT = BuildConfig.SMEC_URL + "queryLastDayStatistics/queryLastDayStatisticsService";

        /**
         * 日报
         */
        String DAY_REPORT= BuildConfig.SMEC_URL +"queryLineDayReport/queryLineDayReportService";

        /**
         * 月报
         */
        String MON_REPORT= BuildConfig.SMEC_URL +"queryLineMonthReport/queryLineMonthReportService";

    }

    interface SmecCode{
        String CODE_SUCCESS="SUCCESS";
        String CODE_FAILED="FAILED";
        String PLATFORM = "MNT_ST_RAIL_APP";
        String POLICY_NOW = "FORCE";
        String POLICY = "OPTION";
    }

    interface MonthCode{
        String MONTHFORM = "MONTHFORM";
        String TOTALTIME= "TOTALTIME";
        String SITEDETAILS="SITEDETAILS";
        String REALSTATUS = "REALSTATUS";
        String STATUSFORM = "STATUSFORM";
        String STATUSTIME = "STATUSTIME";
    }

    interface MsgCode{
        String MSG_TODAY="MSG_TODAY";
        String MSG_AGO="MSG_AGO";
    }

    interface errorCode{
        String todayError="今日故障";
        String todaySolve="已修复";
        String agoError="历史故障";
    }

}
